<?php 
class AML_View_Helper_Slider2 extends Zend_Controller_Action_Helper_Abstract
{   
    public function slider2() 
    { 
    	$modMedia = new FrontMedia();
    	$slide2_arr = $modMedia->getBanners('slider2');
?>
	<ul class="kwicks horizontal" style="left: 0px; top: 0px; height: 200px">
<?php
	foreach ($slide2_arr as $key=>$slide2_entry) :
?>
		<li id="kwick_<?php echo $key+1; ?>"><h3 style=""><?php echo $slide2_entry['banner_title']; ?></h3>
			 <div id="show<?php echo $key+1; ?>" style="display:none;padding-bottom: 30px; text-align:justify;"><font color="black"><?php echo substr(str_replace("<p>","",$slide2_entry['banner_desc']), 0,200) . "..."; ?></font><br/><a href="/index/slider2viewer/id/<?php echo $slide2_entry['banner_id']; ?>" class="btn" style="background-color:#f69b0e">Learn More</a></div> 			 
		</li>
<?php 
	endforeach;
?>
	</ul>
<?php
    } 
         
}
